package com.yenlien.traceyun.business.entity;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.List;

/**
 * Created by LiuSha on 2020/6/11.
 * 工艺工序
 */
@Entity
@Table(name = "t_technology")
public class Technology extends TraceEntity {
    @Column(name = "pId", length = 50)
    private String pId;//工艺Id
    @Column(name = "name", length = 50)
    private String name;//工艺工序名称
    @Column(name = "productName", length = 20)
    private String productName;//品名
    @Column(name = "standardsImg", length = 50)
    private String standardsImg;//标准(图片)
    @Column(name = "specification", length = 2000)
    private String specification;//工序规范
    @Column(name = "sort", length = 20)
    private String sort;//工序排序

    @Column(name = "standards")
    private String standards;

    @Transient
    private int relationId;


    @Transient
    private List<Technology> technologies;//工序集合
    @Transient
    private String technologiesList;//工序集合字符串
    @Transient
    private String query; //查询字段

    public String getStandardsImg() {
        return standardsImg;
    }

    public void setStandardsImg(String standardsImg) {
        this.standardsImg = standardsImg;
    }

    public String getQuery() {
        return query;
    }

    public void setQuery(String query) {
        this.query = query;
    }

    public String getTechnologiesList() {
        return technologiesList;
    }

    public void setTechnologiesList(String technologiesList) {
        this.technologiesList = technologiesList;
    }

    public List<Technology> getTechnologies() {
        return technologies;
    }

    public void setTechnologies(List<Technology> technologies) {
        this.technologies = technologies;
    }

    public String getpId() {
        return pId;
    }

    public void setpId(String pId) {
        this.pId = pId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getSpecification() {
        return specification;
    }

    public void setSpecification(String specification) {
        this.specification = specification;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public int getRelationId() {
        return relationId;
    }

    public void setRelationId(int relationId) {
        this.relationId = relationId;
    }

    public String getStandards() {
        return standards;
    }

    public void setStandards(String standards) {
        this.standards = standards;
    }
}
